<html>
<head>
<style type='text/css'>
body {
   background-color: white;
   margin: 1em 2em 1em 2em;
   font-family: Sans-Serif;
   color: #002;
   line-height: 140%;
   font-size: 12px;
}

h4 {
    font-size: 100%;
    font-style: normal;
    font-weight: bold;
}

h5 {
    font-size: 100%;
    font-style: italic;
    font-weight: normal;
}

pre {
   background-color: #eee;
   padding: 0.5em 0.5em 0.5em 2em;
}

@media print {
   pre {word-wrap:break-word; width:100%;}
} 

ul li,
ol li {
   padding-left: 0.3em;
   /*text-indent: -2em;*/
   margin-bottom: 0.5em;
}

em {
   font-style: normal;
   font-weight: bold;
   text-decoration: underline;
   color: #c40;
}

code {
   font-family: Monospace;
   font-size: 100%;
   color: #c40;
}

a, a * {
   text-decoration: underline;
   color: blue;
   /* border: 0.5px solid #aaa;
   white-space: nowrap;
   padding-right: 0.1em;
   padding-left: 0.1em;
   padding-bottom: -5px; */
}

a code {
   color: blue;
}

img {
   position: relative;
   bottom: -4px;
}

div.headline {
   font-weight: bold;
   font-size: 110%;
}

div.copyright {
   margin-top: 1em;
   border-top: 1px solid black;
   padding-top: 0.5em;
}

div.iris_headline {
   border-bottom: 1px solid black;
   padding-bottom: 0.3em;
}

.LaTeX {
   font-family: Monospace;
   font-size: 100%;
   border: 1px solid #060;
   color: #060;
}

code.LaTeX {
   background-color: white;
   padding: 0.5em 0.5em 0.5em 2em;
}
</style>
</head>

<body>
<div class="iris_headline">IRIS Toolbox Reference Manual</div>




<h2 id="modellang/links">!links</h2>
<div class="headline">Define dynamic links</div>

<h4 id="syntax">Syntax</h4>
<pre><code>!links
   Parameter_Name := Expression;
   Variable_Name := Expression;</code></pre>
<h4 id="syntax-with-equation-labels">Syntax with equation labels</h4>
<pre><code>!links
   &#39;Equation label&#39; Parameter_Name := Expression;
   &#39;Equation label&#39; Variable_Name := Expression;</code></pre>
<h4 id="description">Description</h4>
<p>The dynamic links relate a particular parameter (or steady-state value) on the LHS to a function of other parameters or steady-state values on the RHS. <code>Expression</code> can be any expression involving parameter names, variables names, Matlab functions and constants, or your own m-file functions on the path; it must not refer to any lags or leads. <code>Expression</code> must evaluate to a single number. It is the user's responsibility to properly handle the imaginary (i.e. growth) part of the steady-state values.</p>
<p>The links are automatically refreshed in <a href="../model/solve.html"><code>solve</code></a>, <a href="../model/sstate.html"><code>sstate</code></a>, and <a href="../model/chksstate.html"><code>chksstate</code></a> functions, and also in each iteration within the <a href="../model/estimate.html"><code>estimate</code></a> function. They can also be refreshed manually by calling <a href="../model/refresh.html"><code>refresh</code></a>.</p>
<p>The links must not involve parameters occuring in <a href="../modellang/dtrends.html"><code>!dtrends</code></a> equations that will be estimated using the <code>'outoflik='</code> option of the <a href="../model/estimate.html"><code>estimate</code></a> function.</p>
<h4 id="example">Example</h4>
<pre><code>!links
   R := 1/beta;
   alphak := 1 - alphan - alpham;</code></pre>

</body>
<div class="copyright">IRIS Toolbox. Copyright &copy; 2007&#8212;2013 Jaromir Benes.</div>
</html>
